//
//  MovieViewController.h
//  TipCalculator
//
//  Created by Fox School of Business MIS on 9/19/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MediaPlayer/MEDIAPLAYER.H>

@interface MovieViewController : UIViewController {
	UIButton* doneButton; //switches back to tipCalculatorView
	UIButton* playVideoButton; //plays the video 
	UIView* tipCalculatorView; //view for the tip calculator, so we can switch back 
	MPMoviePlayerController* player; //controller for playing the movie
}

-(void) doneButtonTouched;
-(void) setTipCalculatorView: (UIView*) view;
- (void) playMovie; //called by the TipCalculatorViewController when the view transition animation stops; plays cat.mov in resources

@property (retain, nonatomic) UIButton* doneButton;
@property (retain, nonatomic) UIButton* playVideoButton;

@end
